import instance from '@/utils/request'

// 完成登录接口的封装
export function loginApi (data) {
  return instance({
    url: '/sys/login',
    method: 'POST',
    data
  })
}

// 获取用户基本资料
export function getInfoApi () {
  return instance({
    url: '/sys/profile',
    method: 'POST'
  })
}

export function logout () {}
